package com.googlecode.gwtbb.client.only.widget.form;

import com.google.gwt.user.client.ui.ChangeListener;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Dec 21, 2008
 */
public abstract class PrototypeFormDialogChangeListener extends FormDialogChangeListener implements ChangeListener {
	PrototypeDialogFormStarter formStarter = new PrototypeDialogFormStarter() {
		public FormWidget createForm() {
			return PrototypeFormDialogChangeListener.this.createForm();
		}
	};

	protected PrototypeFormDialogChangeListener(String flagValue) {
		super(flagValue);
	}

	public FormStarter getFormStarter() {
		return formStarter;
	}

	public void startProcess() {
		formStarter.startProcess();
	}
}
